]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
endSessionDialog: Drop markup from button labels
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 29 Jan 2024 15:38:50 +0000 (16:38 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 29 Jan 2024 22:15:53 +0000 (22:15 +0000)
This is no longer necessary with button labels being non-markup
by default.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3149>

js/ui/endSessionDialog.js

index 56a5aec05ae1200652f3220882848a40aef0ba53..d133c38c08fa02a2d8a41327764784bd71019e5e 100644 (file)
@@ -115,9 +115,9 @@ const restartUpdateDialogContent = {
     showBatteryWarning: true,
     confirmButtons: [{
         signal: 'ConfirmedReboot',
-        label: C_('button', 'Restart &amp; Install'),
+        label: C_('button', 'Restart & Install'),
     }],
-    unusedFutureButtonForTranslation: C_('button', 'Install &amp; Power Off'),
+    unusedFutureButtonForTranslation: C_('button', 'Install & Power Off'),
     unusedFutureCheckBoxForTranslation: C_('checkbox', 'Power off after updates are installed'),
     iconName: 'view-refresh-symbolic',
     showOtherSessions: true,
@@ -136,7 +136,7 @@ const restartUpgradeDialogContent = {
     showBatteryWarning: false,
     confirmButtons: [{
         signal: 'ConfirmedReboot',
-        label: C_('button', 'Restart &amp; Install'),
+        label: C_('button', 'Restart & Install'),
     }],
     iconName: 'view-refresh-symbolic',
     showOtherSessions: true,